#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include<assert.h>
int my_strlen(const char* x)
{
	assert(x != NULL);
	int num = 0;
	while (*x++)
	{
		num++;
	}
	return num;
}
int main()
{
	char arr[] = "helloand";
	printf("%d\n", my_strlen(arr));
	return 0;
}